home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / m17n / THAI-OTF.flt < prev    next >
Text File  |  2009-04-29  |  3KB  |  102 lines

  1. ;; THAI-OTF.flt -- Font Layout Table for Thai
  2. ;; Copyright (C) 2006, 2007  AIST (H15PRO112)
  3. ;; See the end for copying conditions.
  4.  
  5. (font layouter thai-otf nil
  6.       (font (nil nil unicode-bmp :otf=thai+mark,mkmk)))
  7.  
  8. ;;; <li> THAI-OTF.flt
  9.  
  10. (category
  11.  ;; C: CONSONANT
  12.  ;; A: SARA-AM
  13.  ;; i: SARA I, SARA U (below vowel 1, above vowel 1)
  14.  ;; I: SARA II, SARA UEE (above vowel 3)
  15.  ;; U: MAIHAN-AKAT, SARA UE, SARA UU (above vowel 2, below vowel 2)
  16.  ;; P: PHINTHU, YAMAKKARN (below diacritic, above diacritic 3)
  17.  ;; T: TONE
  18.  ;; N: THANTHAKHAT, NIKHAHIT (above diacritic 1)
  19.  ;; M: MAITAIKHU (above diacritic 2)
  20.  ;; X: OTHER INDEPENDENT
  21.  (0x0E01 0x0E23    ?C)
  22.  (0x0E24    ?X)
  23.  (0x0E25    ?C)
  24.  (0x0E26 0x0E2E ?C)
  25.  (0x0E2F 0x0E30    ?X)
  26.  (0x0E31    ?U) ;; av2
  27.  (0x0E32    ?X)
  28.  (0x0E33    ?A)
  29.  (0x0E34     ?i) ;; av1
  30.  (0x0E35     ?I) ;; av3
  31.  (0x0E36    ?U) ;; av2
  32.  (0x0E37     ?I) ;; av3
  33.  (0x0E38     ?i) ;; bv1
  34.  (0x0E39     ?U) ;; bv2
  35.  (0x0E3A    ?P) ;; bd
  36.  (0x0E3F 0x0E46 ?X)
  37.  (0x0E47    ?M) ;; ad2
  38.  (0x0E48 0x0E4B    ?T)
  39.  (0x0E4C 0x0E4D    ?N) ;; ad1
  40.  (0x0E4E    ?P) ;; ad3
  41.  (0x0E4F 0x0E5B ?X)
  42.  (0x25CC    ?X))
  43.  
  44. ;; Perform GSUB.  The decomposition of AM is done by hand because it
  45. ;; requires reordering in addition to decomposition.
  46.  
  47. (generator
  48.  (0
  49.   (cond
  50.    ("(C)(T)?(A)"
  51.     | < (1 = 0x0E4D) (2 =) > | (3 0x0E32) > )
  52.    ("C[UiI]T"
  53.     < | = * | > )
  54.    ("CiN"
  55.     < | = * | > )
  56.    ("CIM"
  57.     < | = * | > )
  58.    ("C[iIUPTNM]?"
  59.     < | = * | > )
  60.    ("[iIUPTNM]"
  61.     (cond ((font-facility 0x25CC) < 0x25CC = > ) ("." [ = ] )))
  62.    ("."
  63.     =))
  64.   *))
  65.  
  66. ;; Perform GPOS.
  67.  
  68. (generator
  69.  (0
  70.   (cond
  71.    (" ([^ ]*) "
  72.     (1 otf:thai))
  73.    ("."
  74.     =))
  75.   *))
  76.  
  77. ;; Copyright (C) 2006, 2007
  78. ;;   National Institute of Advanced Industrial Science and Technology (AIST)
  79. ;;   Registration Number H15PRO112
  80.  
  81. ;; This file is part of the m17n database; a sub-part of the m17n
  82. ;; library.
  83.  
  84. ;; The m17n library is free software; you can redistribute it and/or
  85. ;; modify it under the terms of the GNU Lesser General Public License
  86. ;; as published by the Free Software Foundation; either version 2.1 of
  87. ;; the License, or (at your option) any later version.
  88.  
  89. ;; The m17n library is distributed in the hope that it will be useful,
  90. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  91. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  92. ;; Lesser General Public License for more details.
  93.  
  94. ;; You should have received a copy of the GNU Lesser General Public
  95. ;; License along with the m17n library; if not, write to the Free
  96. ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  97. ;; Boston, MA 02110-1301, USA.
  98.  
  99. ;; Local Variables:
  100. ;; mode: emacs-lisp
  101. ;; End:
  102.